package Gobang;

import Common.Game;

import javax.swing.*;

public class Gobang implements Game
{
	private Object GameFrame;

	public static void main(String[] args)
	{
		new GameFrame();
	}

	@Override
	public void run() {
		JFrame game = new JFrame();
		game.setTitle("五子棋");
		game.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
		game.setResizable(false);
		game.setSize(760, 680);
		game.add(new GamePanel());

		game.setLocationRelativeTo(null);
		game.setVisible(true);
	}
}